<include file="Public:header" />
<div class="headbar">
    <div class="position"><span>促销</span><span>></span><span>促销活动</span><span>></span><span>{$name}中奖纪录</span></div>
    <div class="operating">
        <a href="{:U('Game/prize_list',array('type_id'=>$type_id))}"><button class="operating_btn" type="button" ><span class="grade">中奖纪录</span></button></a>
        <a href="{:U('Game/prize_no_list',array('type_id'=>$type_id))}"><button class="operating_btn" type="button"><span class="common">未中奖纪录</span></button></a>
    </div>
</div>

<div class="content">
    <table id="list_table" class="list_table">
        <colgroup>
            <col width="30px" />
            <col width="50px" />
            <col width="150px" />
            <col width="50px" />
            <col width="200px" />
            <col width="150px" />
        </colgroup>

        <thead>
            <tr>
                <th>ID</th>
                <th>CODE</th>
                <th>活动名称</th>
                <th>是否中奖</th>
                <th>时间</th>
                <th>操作</th>
            </tr>
        </thead>

        <tbody>
            <foreach name='list' item='item' key='key'>
            <tr>
                <td>{$item['id']}</td>
                <td>{$item['code']}</td>
                <td>{$item['title']}</td>
                <td><if condition="$item['prize_id'] eq 0">否<else/>是</if></td>
                <td>{$item['time']}</td>
                <td>
                    <a href="javascript:void(0)" onclick="delModel({link:'{:U('Game/prize_del',array('id'=> $item[id]))}'})" title="删除"><img class="operator" src="__PUBLIC__/Partner/images/admin/icon_del.gif" alt="删除" /></a>
                </td>
            </tr>
            </foreach>
        </tbody>
    </table>
    {$page}
</div>
<include file="Public:footer" />